<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>{:session('cp.cpsysname')}--商户管理平台</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
    <meta name="description" content="{:config('webconfig.description');}">
    <meta name="keywords" content="{:config('webconfig.keywords');}">
    <meta name="author" content="runoob">
    <link rel="stylesheet" href="__STATIC_URL__/static/css/bootstrap.css">
    <link rel="stylesheet" type="text/css" href="__STATIC_URL__/static/member/css/core1.css"/>

    <link rel="stylesheet" type="text/css" href="__STATIC_URL__/static/css/index.css"/>
    <link rel="stylesheet" type="text/css" href="__STATIC_URL__/static/css/Statistics.css"/>
    <link rel="stylesheet" type="text/css" href="__STATIC_URL__/static/css/tidy.css"/>
    <script src="__STATIC_URL__/static/js/jquery-2.1.4.min.js"></script>
    <script src="__STATIC_URL__/static/bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <script src="__STATIC_URL__/static/layer/3.0.3/layer.js"></script>
    <script src="__STATIC_URL__/static/js/commen.js"></script>


</head>
<body>
{include file='public/header'/}
<section>
    <!------------------导航-------------------------->
    {include file='public/tleft'/}
    <!--------------------------主要内容区域------------------------------------->

    <div id="right">
        <iframe id="rightframe" min-height="900" name="decoratorIframeBody" src="{:url('paytest/paylog')}" frameborder="0">
        </iframe>
    </div>

</section>
<!-- Modal -->

</body>
<script>
    jQuery(document).ready(function () {
        $(".menu a").click(function(){
            var srcLink=$(this).attr("link");
           if(srcLink!=""&& srcLink!=null){
                jQuery('#rightframe').attr("src", srcLink);
            }
            var men=$(this).parent().attr("class");
           console.log(132,men)
            $('.'+men).addClass('child-active');
            $(".f-"+men).addClass("nav-active");
            $('.'+men).siblings().removeClass('child-active');
            $(".f-"+men).parent().parent().siblings().find(".panel-heading").removeClass("nav-active");
        })

    });


    $(function(){
        $('#header').height();
        $(window).height();
        $('#menu,#leftframe,#right,#rightframe').height($(window).height()-$('#header').height() -2 + "px");
        $('#right,#rightframe').width($(window).width()-$('#menu').width() + "px");
    })
    $(window).resize(function(){
        $('#right,#rightframe').width($(window).width()-$('#menu').width() + "px");
        $('#menu,#leftframe,#right,#rightframe').height($(window).height()-$('#header').height() -2 + "px");

    })
</script>
</html>
